14.2.5 REST Person Added notification

The REST Person Added event sends a notification to a REST web service when a person's account is added to MyID.

If you configure an external system with the name REST Person Added and specify the corresponding mapping file RESTPersonAdded.xml, you can configure MyID to respond to the event with the following.

14.2.5.1 Endpoint

PATCH /people/{People.ObjectID}/personAdded

14.2.5.2 Data

Copy
{
  "person": {
    "id": "<object ID of the person>",
    "account": {
      "dn": "<person Distinguished Name>",
      "domain": "<domain>",
      "samAccountName": "<SAM account name>",
      "upn": "<UPN>"
    },
    "contact": {
      "emailAddress": "<email>"
    },
    "employeeId": "<employee id>",
    "enabled": "<0|1>",
    "name": {
      "first": "<first name>",
      "fullName": "<full name>",
      "last": "<last name>"
    },
    "group": {
      "id": "<object ID of the group>",
      "name": "<group name>"
    },
    "logonName": "<logon name>"
  }
}

14.2.5.3 Expected response

A 200 OK response in the event of success.